<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>王思聪吃热狗</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        html,body{
            width: 100%;
            height: 100%;
            overflow: hidden;
            user-select: none;
        }
        .wsc{
            width: 100px;
            height: 100px;
            position: absolute;
        }
        .wsc img{
            width: 100%;
            height: 100%;
        }
        .remain_time{
            float: left;
            font-size: 30px;
        }
        .grade{
            float: right;
            font-size: 30px;
        }
        .bonus{
            width: 30px;
            height: 30px;
            position: absolute;
            bottom: 100px;
            left: 100px;
            font-size: 20px;
            font-weight: bold;
        }
        .play_panel{
            width: 400px;
            height:210px;
            border: 2px solid red;
            background:skyblue;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            text-align: center;
            line-height: 70px;
            font-size: 30px;
            display: none;
        }
        .play_panel .start button{
            width: 200px;
            height: 50px;
            font-size: 30px;
        }
    </style>
</head>
<body>

    <div class="wsc">
        <img src="./img/wsc.jpg" alt="">
        <div class="bonus"></div>
    </div>

    <div class="remain_time">剩余时间：10秒</div>

    <div class="grade">分数：0分</div>

    <div class="play_panel">
        <div class="game">游戏结束</div>
        <div class="score">0分</div>
        <div class="start"><button>※重新开始※</button></div>
    </div>

<script src="./hotDog.js"></script>
<script>
    hotDog()
</script>
</body>
</html>